package com.huabo.system.oracle.mapper;

import com.huabo.system.oracle.entity.TblBiReportMenu;
import com.huabo.system.oracle.entity.TblControlmatrix;
import com.huabo.system.oracle.entity.TblFlowMatrix;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface TblControlmatrixMapper extends tk.mybatis.mapper.common.Mapper<TblControlmatrix> {

    @Select("select * from TBL_CONTROLMATRIX where CONMATID = #{tcmId}")
    List<TblControlmatrix> findBysql(String tcmId);

    @Insert("insert into TBL_FLOW_MATRIX (FLOWID,CONMATID) values (#{flowid},#{conmatid})")
    void insertMatrixZJ(TblFlowMatrix flowMatrix);
}
